﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace CollectionUtil.DataStructure.Lists
{
    class LinkedList : List
    {
        LinkedNode first;
        int size;

        #region List Members

        public LinkedList()
        {
            first = null;
            size = 0;
        }

        public void Add(int i, object e)
        {

        }

        public void Remove(int i)
        {
            throw new NotImplementedException();
        }

        public object Get(int i)
        {
            throw new NotImplementedException();
        }

        public void Set(int i, object e)
        {
            throw new NotImplementedException();
        }

        #endregion

        #region Collection Members

        public void Add(object e)
        {
            throw new NotImplementedException();
        }

        public void Remove(object e)
        {
            throw new NotImplementedException();
        }

        public bool Contain(object e)
        {
            throw new NotImplementedException();
        }

        public bool IsEmpty()
        {
            throw new NotImplementedException();
        }

        public int Size()
        {
            throw new NotImplementedException();
        }

        #endregion

        public class LinkedNode
        {
            public LinkedNode next{get;set;}
            public object elementData{get;set;}

            public LinkedNode(object element, LinkedNode next)
            {
                elementData = element;
                this.next = next;
            }
        }
    }
}
